package main.flex.business.responder
{
	import main.flex.value.calendar.CalendarTO;
	
	import mx.rpc.events.ResultEvent;
	
	public class GetCalendarResponder extends CalendarBaseResponder
	{
		public function GetCalendarResponder()
		{
			super();
		}
		
		override public function result( data : Object ) : void
		{
			var calendarTO : CalendarTO = new CalendarTO( ResultEvent( data ).result as Array );
			getCalendarModel().userCalendar = calendarTO;			
		}
	}
}